d = {
    'A': 1,
    'B': 2,
    'C': 3
}

print(d['A'])
print(d['B'])
print(d['C'])

d['D'] = 4
print(d['D'])

print(d.get('D'))

print('E' in d)
d.pop('C')
print(d.get('C'))


s = set([1,2,3])
print(s)


ss = set([1,1,2,2,3,4,3,4])
print(ss)

ss.add(5)
print(ss)#5
ss.remove(4)
print(ss)

print( s & ss)
print(s | ss)

